package IC.Semantics;

public class SemanticError extends Exception 
{

	public static final String METHOD_ALREADY_DEFINED = "method already defined";
	/**
	 * 
	 */
	private static final long serialVersionUID = 5550754554279956210L;
	private static final String MESSAGE_START = "semantic error at line ";

	public SemanticError(String message, int line, String value) {
		super(MESSAGE_START + line + ": " + message + ": " + value);
	}

}
